package com.hm.oauth.def;

/**
 * @author shishun.wang
 * @date 上午10:06:54 2016年8月30日
 * @version 1.0
 * @describe
 */
public interface OauthDef {

	public String INVALID_CLIENT_ID = "客户端验证失败，如错误的client_id/client_secret。";

	public String CHECK_ACCESS_CODE_URL = "http://localhost:10000/checkAccessToken?accessToken=";

	public String REQUEST_METHOD = "POST";

	public String RESOURCE_SERVER_NAME = "oauth-server";

	public String INVALID_ACCESS_TOKEN = "accessToken无效或已过期。";

	public String LOGIN_USERNAME = "username";

	public String LOGIN_PASSWORD = "password";

	public interface DB {

		public String PREFIX = "hm_oauth_";
	}

	public interface Api {

		public String PREFIX = "api";
		
		
		public interface UserApi{
			
			public String VERSION = PREFIX + "/v1";
			
			public String USER_FINFO = VERSION +"/userinfo";
		}
		
	}
}
